import time
f = [int(i) for i in open('1.txt','r').read().split()]
t_start = time.time()
f = sorted(f)
#for j in range(len(f)-1):
#    for i in range(len(f)-j-1):
#        if f[i]>f[i+1]:
#            f[i],f[i+1] = f[i+1],f[i]
t_finish = time.time()
print(f, round((t_finish-t_start)*1000))




